import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.scss';
import { RouterProvider } from 'react-router-dom';
import router from '../src/router/index'
import { Provider } from 'react-redux';
import store from './store';
import 'antd/dist/reset.css'
import '@ant-design/v5-patch-for-react-19';
import 'normalize.css'
import zhCN from 'antd/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import { ConfigProvider } from 'antd'
dayjs.locale('zh-cn')
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <ConfigProvider locale={zhCN}>
        <Provider store={store}>
            <RouterProvider router={router}></RouterProvider>
        </Provider>
    </ConfigProvider>
);


